export default class SecurityService {
  static saveSecurity(user: any) {
    localStorage.setItem('Security', JSON.stringify(user));
  }

  static getSecurity() {
    const value: any = localStorage.getItem('Security');
    try {
      return JSON.parse(value);
    } catch (e) {
      console.log(e);
    }
    return null;
  }
}


